using SoulsFormats;
using System.Collections.Generic;
using System.Numerics;

namespace HKX2
{
    public partial class hknpVehicleDefaultSuspension : hknpVehicleSuspension
    {
        public override uint Signature { get => 1667563898; }
        
        public List<hknpVehicleDefaultSuspensionWheelSpringSuspensionParameters> m_wheelSpringParams;
        
        public override void Read(PackFileDeserializer des, BinaryReaderEx br)
        {
            base.Read(des, br);
            m_wheelSpringParams = des.ReadClassArray<hknpVehicleDefaultSuspensionWheelSpringSuspensionParameters>(br);
        }
        
        public override void Write(PackFileSerializer s, BinaryWriterEx bw)
        {
            base.Write(s, bw);
            s.WriteClassArray<hknpVehicleDefaultSuspensionWheelSpringSuspensionParameters>(bw, m_wheelSpringParams);
        }
    }
}
